package cn.funeralobjects.upms.model;

import cn.funeralobjects.util.annotation.ArgHasLength;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @author FuneralObjects
 * Create date: 2020/5/27 9:38 AM
 */
@Data
@Accessors(chain = true)
public class CustomPath {
    /**
     * 编码
     */
    @ArgHasLength
    private String code;
    /**
     * 名称
     */
    @ArgHasLength
    private String name;
    /**
     * 自定义路径
     */
    @ArgHasLength
    private String url;
    /**
     * 所属范围
     */
    @ArgHasLength
    private String scope;
    /**
     * 关联的配置角色
     */
    private List<Integer> roleIds;
}
